package com.ipc.admin.service.zzcool.service;

import com.ipc.common.pojo.vo.R;
import com.ipc.common.pojo.zzcool.bo.CouponBo;
import com.ipc.core.entity.zzcool.CouponDetails;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Zzcool
 * @create 2023-04-30 19:34
 */
public interface CouponDetailsService {
    /**
     * 新增内容*/
    R save(CouponDetails couponDetails);
    /**
     * 修改*/
//    R updateById(CouponDetails couponDetails);
    /**
     *删除 */
    R delBycid(int cid);

    /**
     * 查询详情*/
    R queryAll(CouponBo bo);

    /**
     * 导出 Excel*/
    void exportData(HttpServletResponse response) throws IOException;

    /**
     * 查询详情*/
//    R queryById(int id);
}
